<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
		<link rel="stylesheet" type="text/css" href="../../css/bootstrap/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/easyui/default/easyui.css"/>
		<script type="text/javascript" src="../../js/jquery.min.js"></script>
		<script type="text/javascript" src="../../js/bootstrap/bootstrap.min.js"></script>
		<script type="text/javascript" src="../../js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../js/easyui/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="../../js/self/util.js"></script>
		<script type="text/javascript" src="../../js/self/ssm.operate.js"></script>
		<script type="text/javascript" src="../../js/bootstrap/laydate.js"></script>
	</head>
	<body>
		<form id="form_operateEntity" th:action="@{/lateral-movement/operate}" method="post" get_url="/lateral-movement/get">
			<input type="hidden" name="id" th:value="${id}">
			<table class="table table-bordered" style="width: 50%;" id="table_operateEntity">
				<tr>
					<td width="20%">横向移动名称</td>
					<td width="50%">
						<input id="valid_text_moveName" name="moveName" class="form-control" autocomplete="off"/>
					</td>
					<td><span id="span_validMoveName">横向移动名称不能为空</span></td>
				</tr>
				<tr>
					<td width="20%">发生时间</td>
					<td width="50%">
						<input id="valid_text_attackTime" name="attackTime" class="form-control" autocomplete="off" datetype="datetime"/>
					</td>
					<td><span id="span_validAttackTime">发生时间不能为空</span></td>
				</tr>
				<tr>
					<td width="20%">目标ip</td>
					<td width="50%">
						<input id="valid_text_targetIp" name="targetIp" class="form-control" autocomplete="off"/>
					</td>
					<td><span id="span_validTargetIp">目标ip不能为空</span></td>
				</tr>
				<tr>
					<td width="20%">利用的漏洞列表</td>
					<td width="50%">
						<input id="valid_text_exploitVuls" name="exploitVuls" class="form-control" autocomplete="off"/>
					</td>
					<td><span id="span_validExploitVuls">利用的漏洞列表不能为空</span></td>
				</tr>
				<tr>
					<td width="20%">横移的路径</td>
					<td width="50%">
						<input id="valid_text_movePath" name="movePath" class="form-control" autocomplete="off"/>
					</td>
					<td><span id="span_validMovePath">横移的路径不能为空</span></td>
				</tr>
				<tr>
					<td width="20%">移动后取得的结果</td>
					<td width="50%">
						<input id="valid_text_moveResult" name="moveResult" class="form-control" autocomplete="off"/>
					</td>
					<td><span id="span_validMoveResult">移动后取得的结果不能为空</span></td>
				</tr>
				<tr>
					<td width="20%">执行时间</td>
					<td width="50%">
						<input id="valid_text_moveTime" name="moveTime" class="form-control" autocomplete="off" datetype="datetime"/>
					</td>
					<td><span id="span_validMoveTime">执行时间不能为空</span></td>
				</tr>
				<tr>
					<td width="20%">关联的任务</td>
					<td width="50%">
						<select id="valid_select_relatedTask" class="form-control" name="relatedTask">
							<option value="">---无---</option>
							<option th:each="task: ${taskList}" th:value="${task.id}" th:text="${task.taskName}"
									th:selected="${task.id == movement.relatedTask}"></option>
						</select>
					</td>
					<td><span id="span_validRelatedTask">关联的任务不能为空</span></td>
				</tr>
				<tr>
					<td colspan="3">
						<button type="button" class="btn btn-success" id="button_sureOperate">确定</button>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
